
#ifndef __PARTICLEFACTORY_H
#define __PARTICLEFACTORY_H

#include "waterparticle.h"

#define WATER 0

class ParticleFactory
{
// Member Functions
public:
	ParticleFactory(void);
	ParticleFactory(int type);

	void config(int pps, 
				float *rad, float *pos, float *spr, 
				float *vel, float life);

	Particle **update(float etime, int &num);
protected:
private:
	WaterParticle **getWaterParticles(float etime, int &num);

// Member Variables
public:
protected:
private:
	int type;

	int pPerSec;
	float *pPosRadius;
	float *pPosition;
	float *pSpread;
	float *pVelocity;
	float pLifespan;
};

#endif //__PARTICLEFACTORY_H
